package com.dtwave.wechat.service.provider.database.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dtwave.wechat.service.provider.database.entity.BaseEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author liuwenxiang
 * @since 2018-12-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bas_role")
public class Role extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "role_id", type = IdType.AUTO)
    private Long roleId;

    private String uuid;
    /**
     * 角色名称
     */
    @TableField("role_name")
    private String roleName;
    /**
     * 角色code
     */
    @TableField("role_code")
    private String roleCode;
    /**
     * 角色类型
     */
    @TableField("role_type")
    private String roleType;
    /**
     * 数据范围
     */
    @TableField("data_scope")
    private String dataScope;
    /**
     * 描述
     */
    private String descr;
    /**
     * 创建人
     */
    @TableField("c_user_id")
    private String cUserId;
    /**
     * 修改人
     */
    @TableField("m_user_id")
    private String mUserId;


}
